//
// Created by bleedingfight on 2020/7/5.
//

#include "containsDuplicate.h"
bool containsDuplicate(std::vector<int>& nums){
    std::set<int> set_num = std::set<int>(nums.begin(),nums.end());
    return set_num.size()!=nums.size();

}